{template 'common/header'}
<link rel="stylesheet" href="../addons/kuyuan_red/dist/web/common.css" />
<link rel="stylesheet" href="../addons/kuyuan_red/dist/web/attention-setting.css" />
<div id="louie" data-url="{php echo $this->createWebUrl('api')}">
    {template 'web/setting/common/nav/nav'}
    <form action="" method="post" class="row col-xs-6" v-on:submit.prevent="submit">
        
        <div class="form-group">
            <label>是否开启关注公众号功能</label><br />
            <label class="radio-inline">
                <input type="radio" v-model="attention" value="0"> 不开启
            </label>
            <label class="radio-inline">
                <input type="radio" v-model="attention" value="1"> 开启
            </label>
        </div>

        <div class="form-group">
            <label>发红包是否提示用户关注公众号</label><br />
            <label class="radio-inline">
                <input type="radio" v-model="attention_publish" value="0"> 不提示
            </label>
            <label class="radio-inline">
                <input type="radio" v-model="attention_publish" value="1"> 提示
            </label>
        </div>

        <button class="btn btn-primary" type="submit">确认设置</button>
    </form>

    <!--提示框--><v-dialog style="z-index:99999999;"/>
</div>
<script src="../addons/kuyuan_red/dist/web/common.js"></script>
<script src="../addons/kuyuan_red/dist/web/attention-setting.js"></script>
{template 'common/footer'}